package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author QiuPeng
 * @since 2022-10-12
 */
@Getter
@Setter
  @TableName("k_order")
@ApiModel(value = "Order对象", description = "")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("订单id")
      @TableId(value = "id" ,type = IdType.ASSIGN_ID)
      private String id;

      @ApiModelProperty("订单编号")

      private String orderNum;

      @ApiModelProperty("0 表示待付款 1表示已付款  2 表示已发货 3表示已核销	4表示已经完成 5 表示已取消")
      private String orderStatus;

      @ApiModelProperty("订单总金额")
      private Double orderTotalMoney;

      @ApiModelProperty("逻辑删除 1表示删除 0表示为删除")
      @TableLogic
      private Integer isLogic;

}
